home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / msgFolderPickerOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-06-20  |  33.8 KB  |  638 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  
  5.  The contents of this file are subject to the Mozilla Public License Version
  6.  1.1 (the "License"); you may not use this file except in compliance with
  7.  the License. You may obtain a copy of the License at
  8.  http://www.mozilla.org/MPL/
  9.  
  10.  Software distributed under the License is distributed on an "AS IS" basis,
  11.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  for the specific language governing rights and limitations under the
  13.  License.
  14.  
  15.  The Original Code is Mozilla Communicator client code, released
  16.  March 31, 1998.
  17.  
  18.  The Initial Developer of the Original Code is
  19.  Netscape Communications Corporation.
  20.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  21.  the Initial Developer. All Rights Reserved.
  22.  
  23.  Contributor(s):
  24.  
  25.  Alternatively, the contents of this file may be used under the terms of
  26.  either of the GNU General Public License Version 2 or later (the "GPL"),
  27.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  in which case the provisions of the GPL or the LGPL are applicable instead
  29.  of those above. If you wish to allow use of your version of this file only
  30.  under the terms of either the GPL or the LGPL, and not to allow others to
  31.  use your version of this file under the terms of the MPL, indicate your
  32.  decision by deleting the provisions above and replace them with the notice
  33.  and other provisions required by the GPL or the LGPL. If you do not delete
  34.  the provisions above, a recipient may use your version of this file under
  35.  the terms of any one of the MPL, the GPL or the LGPL.
  36.  
  37.  ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  40. <?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
  41.  
  42. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/msgFolderPickerOverlay.dtd">
  43.  
  44. <overlay id="msgFolderPicker"
  45.          xmlns:nc="http://home.netscape.com/NC-rdf#"
  46.                  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  47.   <stringbundleset id="stringbundleset">
  48.     <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  49.   </stringbundleset>
  50.   <script type="application/x-javascript" src="chrome://messenger/content/msgFolderPickerOverlay.js"/>
  51.   <script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/>
  52.  
  53.   <menulist label="&newfolderclickhere.label;" id="msgNewFolderPicker" 
  54.     sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  55.     sortDirection="ascending"
  56.     datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  57.     ref="msgaccounts:/">
  58.         <template>
  59.           <rule nc:CanCreateSubfolders="true" nc:CanCreateFoldersOnServer="true" iscontainer="true" isempty="false">
  60.             <menupopup class="menulist-menupopup">
  61.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  62.                                 oncommand="PickedMsgFolder(event.target,'msgNewFolderPicker')"
  63.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  64.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  65.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  66.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  67.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  68.                 <menupopup>
  69.                   <menuitem label="&newfolderchoosethis.label;"
  70.                                 oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'msgNewFolderPicker')"/>
  71.                   <menuseparator/>
  72.                 </menupopup>
  73.               </menu>
  74.             </menupopup>
  75.           </rule>
  76.  
  77.     <rule nc:CanCreateFoldersOnServer="false"/>
  78.  
  79.     <!-- no subfolders for some inboxes --> 
  80.     <rule nc:CanCreateSubfolders="false" iscontainer="true" isempty="true">
  81.             <menupopup>
  82.                         <menuitem disabled="true" uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  83.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  84.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  85.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  86.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  87.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  88.             </menupopup>
  89.     </rule>
  90.           <rule nc:CanCreateSubfolders="true">
  91.             <menupopup>
  92.                         <menuitem uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  93.                                 oncommand="PickedMsgFolder(event.target,'msgNewFolderPicker')"
  94.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  95.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  96.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  97.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  98.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  99.             </menupopup>
  100.           </rule>
  101.   </template>
  102.   <menupopup />
  103.   </menulist>
  104.  
  105.   <menulist label="&renamefolderclickhere.label;" uri=""
  106.     id="msgRenameFolderPicker"
  107.     sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  108.     sortDirection="ascending"
  109.     datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  110.     ref="msgaccounts:/">
  111.         <template>
  112.           <rule nc:CanRename="true" iscontainer="true" isempty="false">
  113.             <menupopup>
  114.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  115.                                 oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
  116.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  117.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  118.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  119.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  120.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  121.                 <menupopup class="menulist-menupopup">
  122.                   <menuitem label="&renamefolderchoosethis.label;"
  123.                                 oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'msgRenameFolderPicker')"/>
  124.                   <menuseparator/>
  125.                 </menupopup>
  126.               </menu>
  127.             </menupopup>
  128.           </rule>
  129.           <rule nc:CanRename="false" nc:ServerType="nntp">
  130.     <!--  don't show nntp servers in the rename dialog -->
  131.           </rule>
  132.     <rule nc:CanRename="false" iscontainer="true" isempty="false">
  133.       <!-- note, there is no "file here" -->
  134.             <menupopup>
  135.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  136.                                 oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
  137.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  138.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  139.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  140.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  141.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  142.       <menupopup class="menulist-menupopup"/>
  143.               </menu>
  144.             </menupopup>
  145.           </rule>
  146.     <!-- this makes the special folders that you can't rename
  147.     like TRASH and INBOX show up, but they are disabled -->
  148.     <rule nc:CanRename="false" iscontainer="true" isempty="true">
  149.             <menupopup>
  150.                         <menuitem disabled="true" uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  151.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  152.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  153.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  154.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  155.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  156.             </menupopup>
  157.           </rule>
  158.           <rule nc:CanRename="true">
  159.             <menupopup>
  160.                         <menuitem uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  161.                                 oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
  162.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  163.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  164.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  165.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  166.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  167.             </menupopup>
  168.           </rule>
  169.   </template>
  170.   <menupopup />
  171.   </menulist>
  172.  
  173.   <menulist label="&choosefolderclickhere.label;" uri="" id="msgFccFolderPicker"
  174.     sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  175.     sortDirection="ascending"
  176.     datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  177.     ref="msgaccounts:/">
  178.         <template>
  179.           <rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
  180.             <menupopup>
  181.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  182.                                 oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
  183.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  184.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  185.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  186.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  187.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  188.                 <menupopup class="menulist-menupopup">
  189.                   <menuitem label="&filemessageschoosethis.label;"
  190.                             oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'msgFccFolderPicker')"/>
  191.                   <menuseparator/>
  192.                 </menupopup>
  193.               </menu>
  194.             </menupopup>
  195.           </rule>
  196.     <rule nc:CanFileMessagesOnServer="false">
  197.       <!-- don't show servers (nntp & any others) which does not allow message filing -->
  198.           </rule>
  199.     <rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
  200.       <!-- note, there is no "file here" -->
  201.             <menupopup>
  202.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  203.                                 oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
  204.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  205.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  206.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  207.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  208.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  209.       <menupopup class="menulist-menupopup"/>
  210.               </menu>
  211.             </menupopup>
  212.           </rule>
  213.           <rule nc:CanFileMessages="true">
  214.             <menupopup>
  215.                         <menuitem uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  216.                                 oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
  217.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  218.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  219.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  220.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  221.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  222.             </menupopup>
  223.           </rule>
  224.   </template>
  225.   <menupopup />
  226.   </menulist>
  227.  
  228.   <menulist label="&choosefolderclickhere.label;" uri=""
  229.     id="msgDraftsFolderPicker"
  230.     sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  231.     sortDirection="ascending"
  232.     datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  233.     ref="msgaccounts:/">
  234.         <template>
  235.           <rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
  236.             <menupopup>
  237.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  238.                                 oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
  239.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  240.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  241.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  242.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  243.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  244.                 <menupopup class="menulist-menupopup">
  245.                   <menuitem label="&filemessageschoosethis.label;"
  246.                             oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'msgDraftsFolderPicker')"/>
  247.                   <menuseparator/>
  248.                 </menupopup>
  249.               </menu>
  250.             </menupopup>
  251.           </rule>
  252.     <rule nc:CanFileMessagesOnServer="false">
  253.       <!-- don't show servers (nntp & any others) which does not allow message filing -->
  254.           </rule>
  255.     <rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
  256.       <!-- note, there is no "file here" -->
  257.             <menupopup>
  258.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  259.                                 oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
  260.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  261.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  262.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  263.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  264.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  265.       <menupopup class="menulist-menupopup"/>
  266.               </menu>
  267.             </menupopup>
  268.           </rule>
  269.           <rule nc:CanFileMessages="true">
  270.             <menupopup>
  271.                         <menuitem uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  272.                                 oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
  273.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  274.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  275.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  276.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  277.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  278.             </menupopup>
  279.           </rule>
  280.   </template>
  281.   <menupopup />
  282.   </menulist>
  283.  
  284.   <menulist label="&choosefolderclickhere.label;" uri=""
  285.     id="msgStationeryFolderPicker"
  286.     sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  287.     sortDirection="ascending"
  288.     datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  289.     ref="msgaccounts:/">
  290.         <template>
  291.           <rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
  292.             <menupopup>
  293.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  294.                                 oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
  295.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  296.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  297.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  298.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  299.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  300.                 <menupopup class="menulist-menupopup">
  301.                   <menuitem label="&filemessageschoosethis.label;"
  302.                             oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'msgStationeryFolderPicker')"/>
  303.                   <menuseparator/>
  304.                 </menupopup>
  305.               </menu>
  306.             </menupopup>
  307.           </rule>
  308.       <rule nc:CanFileMessagesOnServer="false">
  309.         <!-- don't show servers (nntp & any others) which does not allow message filing -->
  310.       </rule>
  311.     <rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
  312.       <!-- note, there is no "file here" -->
  313.             <menupopup>
  314.               <menu uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name"
  315.                                 oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
  316.                                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  317.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  318.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  319.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  320.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
  321.                 <menupopup class="menulist-menupopup"/>
  322.               </menu>
  323.             </menupopup>
  324.           </rule>
  325.           <rule nc:CanFileMessages="true">
  326.             <menupopup>
  327.                         <menuitem uri="..." class="folderMenuItem menuitem-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" 
  328.                                 oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
  329.         SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  330.                                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  331.                                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  332.                                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  333.                                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
  334.             </menupopup>
  335.           </rule>
  336.       </template>
  337.       <menupopup />
  338.     </menulist>
  339.  
  340.   <menulist label="&chooseaccountclickhere.label;" 
  341.         uri="" id="actionTargetAccount" 
  342.         sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  343.         sortDirection="ascending"
  344.         datasources="rdf:msgaccountmanager rdf:mailnewsfolders" 
  345.         ref="msgaccounts:/">
  346.     <template>
  347.       <rule nc:IsServer="true" nc:CanCreateFoldersOnServer="true" nc:CanSearchMessages="true">
  348.         <menupopup>
  349.           <menuitem uri="..." class="folderMenuItem menuitem-iconic" 
  350.                     label="rdf:http://home.netscape.com/NC-rdf#Name"
  351.                     oncommand="PickedMsgFolder(event.target,'actionTargetAccount')"
  352.                     IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  353.                     IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  354.                     ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  355.                     CanCreateFoldersOnServer="rdf:http://home.netscape.com/NC-rdf#CanCreateFoldersOnServer"/>
  356.         </menupopup>
  357.       </rule>
  358.     </template>
  359.     <menupopup />
  360.   </menulist>
  361.  
  362.   <menulist label="&chooseaccountclickhere.label;" 
  363.         uri="" id="msgFccAccountPicker" 
  364.         sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  365.         sortDirection="ascending"
  366.         datasources="rdf:msgaccountmanager rdf:mailnewsfolders" 
  367.         ref="msgaccounts:/">
  368.     <template>
  369.       <rule nc:IsServer="true" nc:CanCreateFoldersOnServer="true">
  370.         <menupopup>
  371.           <menuitem uri="..." class="folderMenuItem menuitem-iconic" 
  372.                     label="rdf:http://home.netscape.com/NC-rdf#Name"
  373.                     oncommand="PickedMsgFolder(event.target,'msgFccAccountPicker')"
  374.                     IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  375.                     IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  376.                     ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  377.                     CanCreateFoldersOnServer="rdf:http://home.netscape.com/NC-rdf#CanCreateFoldersOnServer"/>
  378.         </menupopup>
  379.       </rule>
  380.     </template>
  381.     <menupopup />
  382.   </menulist>
  383.  
  384.   <menulist label="&chooseaccountclickhere.label;" 
  385.         uri="" id="msgDraftsAccountPicker" 
  386.         sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  387.         sortDirection="ascending"
  388.         datasources="rdf:msgaccountmanager rdf:mailnewsfolders" 
  389.         ref="msgaccounts:/">
  390.     <template>
  391.       <rule nc:IsServer="true" nc:CanCreateFoldersOnServer="true">
  392.         <menupopup>
  393.           <menuitem uri="..." class="folderMenuItem menuitem-iconic" 
  394.                     label="rdf:http://home.netscape.com/NC-rdf#Name"
  395.                     oncommand="PickedMsgFolder(event.target,'msgDraftsAccountPicker')"
  396.                     IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  397.                     IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  398.                     ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  399.                     CanCreateFoldersOnServer="rdf:http://home.netscape.com/NC-rdf#CanCreateFoldersOnServer"/>
  400.         </menupopup>
  401.       </rule>
  402.     </template>
  403.     <menupopup />
  404.   </menulist>
  405.  
  406.   <menulist label="&chooseaccountclickhere.label;" 
  407.         uri="" id="msgStationeryAccountPicker" 
  408.         sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  409.         sortDirection="ascending"
  410.         datasources="rdf:msgaccountmanager rdf:mailnewsfolders" 
  411.         ref="msgaccounts:/">
  412.     <template>
  413.       <rule nc:IsServer="true" nc:CanCreateFoldersOnServer="true">
  414.          <menupopup>
  415.           <menuitem uri="..." class="folderMenuItem menuitem-iconic" 
  416.                     label="rdf:http://home.netscape.com/NC-rdf#Name"
  417.                     oncommand="PickedMsgFolder(event.target,'msgStationeryAccountPicker')"
  418.                     IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  419.                     IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  420.                     ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  421.                     CanCreateFoldersOnServer="rdf:http://home.netscape.com/NC-rdf#CanCreateFoldersOnServer"/>
  422.         </menupopup>
  423.       </rule>
  424.     </template>
  425.     <menupopup />
  426.   </menulist>
  427.  
  428.     <menulist id="actionTargetFolder"
  429.               containment="http://home.netscape.com/NC-rdf#child"
  430.               sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  431.               sortDirection="ascending"
  432.               datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  433.               ref="msgaccounts:/">
  434.       <template>
  435.         <rule nc:CanFileMessagesOnServer="false">
  436.           <!-- don't show servers (nntp & any others) which do not allow message filing -->
  437.         </rule>
  438.         <rule nc:CanSearchMessages="false">
  439.           <!-- don't show servers (nntp & any others) which do not allow search -->
  440.         </rule>
  441.         <rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
  442.           <menupopup>
  443.               <menu uri="..." 
  444.                 class="folderMenuItem menu-iconic"
  445.                 oncommand="PickedMsgFolder(event.target,'actionTargetFolder')"
  446.                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  447.                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  448.                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  449.                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  450.                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  451.                 label="rdf:http://home.netscape.com/NC-rdf#Name">
  452.                 <menupopup class="menulist-menupopup">
  453.                   <menuitem label="&filemessageschoosethis.label;"
  454.                             oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'actionTargetFolder')"/>
  455.                   <menuseparator/>
  456.                 </menupopup>
  457.               </menu>
  458.           </menupopup>
  459.        </rule>
  460.        <rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
  461.           <menupopup>
  462.              <menu uri="..."
  463.                class="folderMenuItem menu-iconic"
  464.                oncommand="PickedMsgFolder(event.target,'actionTargetFolder')"
  465.                SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  466.                BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  467.                IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  468.                IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  469.                ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  470.                label="rdf:http://home.netscape.com/NC-rdf#Name">
  471.                <menupopup class="menulist-menupopup"/>
  472.               </menu>
  473.           </menupopup>
  474.         </rule>
  475.         <rule nc:CanFileMessages="true">
  476.           <menupopup>
  477.              <menuitem uri="..." value="..."  
  478.               class="folderMenuItem menuitem-iconic"
  479.               oncommand="PickedMsgFolder(event.target,'actionTargetFolder')"
  480.               SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  481.               BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  482.               IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  483.               IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  484.               ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  485.               label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  486.           </menupopup>
  487.         </rule>
  488.       </template>
  489.       <menupopup/>
  490.     </menulist>
  491.  
  492.     <menulist id="actionTargetFolder2"
  493.               containment="http://home.netscape.com/NC-rdf#child"
  494.               sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  495.               sortDirection="ascending"
  496.               datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  497.               ref="msgaccounts:/">
  498.       <template>
  499.         <rule nc:CanFileMessagesOnServer="false">
  500.           <!-- don't show servers (nntp & any others) which do not allow message filing -->
  501.         </rule>
  502.         <rule nc:CanSearchMessages="false">
  503.           <!-- don't show servers (nntp & any others) which do not allow search -->
  504.         </rule>
  505.         <rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
  506.           <menupopup>
  507.               <menu uri="..." 
  508.                 class="folderMenuItem menu-iconic"
  509.                 oncommand="PickedMsgFolder(event.target,'actionTargetFolder2')"
  510.                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  511.                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  512.                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  513.                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  514.                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  515.                 label="rdf:http://home.netscape.com/NC-rdf#Name">
  516.                 <menupopup class="menulist-menupopup">
  517.                   <menuitem label="&filemessageschoosethis.label;"
  518.                             oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'actionTargetFolder2')"/>
  519.                   <menuseparator/>
  520.                 </menupopup>
  521.               </menu>
  522.           </menupopup>
  523.        </rule>
  524.        <rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
  525.           <menupopup>
  526.              <menu uri="..."
  527.                class="folderMenuItem menu-iconic"
  528.                oncommand="PickedMsgFolder(event.target,'actionTargetFolder2')"
  529.                SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  530.                BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  531.                IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  532.                IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  533.                ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  534.                label="rdf:http://home.netscape.com/NC-rdf#Name">
  535.                <menupopup class="menulist-menupopup"/>
  536.               </menu>
  537.           </menupopup>
  538.         </rule>
  539.         <rule nc:CanFileMessages="true">
  540.           <menupopup>
  541.              <menuitem uri="..." value="..."  
  542.               class="folderMenuItem menuitem-iconic"
  543.               oncommand="PickedMsgFolder(event.target,'actionTargetFolder2')"
  544.               SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  545.               BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  546.               IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  547.               IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  548.               ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  549.               label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  550.           </menupopup>
  551.         </rule>
  552.       </template>
  553.       <menupopup/>
  554.     </menulist>
  555.  
  556.     <menulist id="runFiltersFolder"
  557.               containment="http://home.netscape.com/NC-rdf#child"
  558.               sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  559.               sortDirection="ascending"
  560.               datasources="rdf:msgaccountmanager rdf:mailnewsfolders">
  561.       <template>
  562.         <rule nc:NoSelect="false" iscontainer="true" isempty="false">
  563.           <menupopup>
  564.               <menu uri="..." 
  565.                 class="folderMenuItem menu-iconic"
  566.                 oncommand="PickedMsgFolder(event.target,'runFiltersFolder')"
  567.                 SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  568.                 BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  569.                 IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  570.                 IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  571.                 ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  572.                 label="rdf:http://home.netscape.com/NC-rdf#Name">
  573.                 <menupopup class="menulist-menupopup">
  574.                   <menuitem label="&filemessageschoosethis.label;"
  575.                         oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'runFiltersFolder')"/>
  576.                   <menuseparator/>
  577.                 </menupopup>
  578.               </menu>
  579.           </menupopup>
  580.        </rule>
  581.        <rule nc:NoSelect="true" iscontainer="true" isempty="false">
  582.           <menupopup>
  583.              <menu uri="..."
  584.                class="folderMenuItem menu-iconic"
  585.                oncommand="PickedMsgFolder(event.target,'runFiltersFolder')"
  586.                SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  587.                BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  588.                IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  589.                IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  590.                ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  591.                label="rdf:http://home.netscape.com/NC-rdf#Name">
  592.                 <menupopup class="menulist-menupopup"/>
  593.               </menu>
  594.           </menupopup>
  595.         </rule>
  596.         <rule nc:NoSelect="false">
  597.           <menupopup>
  598.              <menuitem uri="..." value="..."  
  599.               class="folderMenuItem menuitem-iconic"
  600.               oncommand="PickedMsgFolder(event.target,'runFiltersFolder')"
  601.               SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
  602.               BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
  603.               IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  604.               IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  605.               ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  606.               label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  607.           </menupopup>
  608.         </rule>
  609.       </template>
  610.       <menupopup/>
  611.     </menulist>
  612.   <menulist label="&chooseserverToDeferTo.label;" uri="" id="deferedServerFolderPicker"
  613.         sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  614.         sortDirection="ascending"
  615.         datasources="rdf:msgaccountmanager rdf:mailnewsfolders" 
  616.         ref="msgaccounts:/">
  617.     <template>
  618.       <!-- Using CanCreateFoldersOnServer+SupportsOffline is a hack that allows
  619.            us to remove news and imap accounts. We should be using our own 
  620.            attribute, canDeferTo, but I want to make the folder data source 
  621.            table driven before I add code to it.
  622.        -->
  623.       <rule nc:IsServer="true" nc:CanCreateFoldersOnServer="true" nc:SupportsOffline="false">
  624.         <menupopup>
  625.           <menuitem uri="..." class="folderMenuItem menuitem-iconic" 
  626.                     label="rdf:http://home.netscape.com/NC-rdf#Name"
  627.                     oncommand="PickedMsgFolder(event.target,'deferedServerFolderPicker')"
  628.                     IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  629.                     IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  630.                     ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  631.                     CanCreateFoldersOnServer="rdf:http://home.netscape.com/NC-rdf#CanCreateFoldersOnServer"/>
  632.         </menupopup>
  633.       </rule>
  634.     </template>
  635.     <menupopup />
  636.   </menulist>
  637. </overlay>
  638.